<?php
$this->breadcrumbs=array(
	Yii::t('yii','Blog'),
);

$this->menu=array(
	array(Yii::t('yii','Create Blog'), array('create'),'visible'=>Yii::app()->user->hasAuth(Group::USER)),
	array(Yii::t('yii','Manage Blog'), array('admin'),'visible'=>Yii::app()->user->hasAuth(Group::USER)),
);
?>

<h1><?php echo Yii::t('yii','Blog'); ?></h1>

<?php $this->widget('textedit.components.TextEditor', array('id'=>'Blogsindex')); ?>
<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
